package com.whj.servicedriveruser.service;

import com.whj.internalcommon.dto.DriverUser;
import com.whj.internalcommon.dto.ResponseResult;
import com.whj.internalcommon.response.OrderDriverResponse;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @Auther: wanghaijun
 * @Date: 2023/1/11 - 01 - 11 - 15:40 
 * @Description: com.whj.servicedriveruser.service
 */

@Service

public interface DriverUserService {

    public ResponseResult testGetDriverUser();

    ResponseResult addDriverUser(DriverUser driverUser);

    ResponseResult updateDriverUser(DriverUser driverUser);

    ResponseResult <DriverUser> getDriverUserByPhone(String driverPhone);

    ResponseResult<OrderDriverResponse> getAvailableDriver(Long carId);
}
